<!DOCTYPE html>
<html lang="zh-cn" ng-app="scrmApp">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{BEESCRM::C('site_name')}</title>
    <link rel="stylesheet" type="text/css" href="/assets/bower_components/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css"
          href="/assets/bower_components/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css">
    <link rel="stylesheet" type="text/css" href="/assets/styles/less/navigation.css">
    <link rel="stylesheet" type="text/css" href="/assets/styles/less/desktop.css">
    <link rel="stylesheet" type="text/css" href="/assets/styles/less/set.css">

    <script type="text/javascript" src="/assets/bower_components/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="/assets/bower_components/angular/angular.min.js"></script>
    <script type="text/javascript" src="/assets/bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
    <script type="text/javascript" src="/assets/bower_components/angular-resource/angular-resource.min.js"></script>
    <script type="text/javascript"x src="/assets/bower_components/angular-animate/angular-animate.min.js"></script>
    <script type="text/javascript"
            src="/assets/bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
    <script type="text/javascript" src="/a3ssets/bower_components/angular-cookies/angular-cookies.min.js"></script>
    <script type="text/javascript" src="/assets/bower_components/angular-messages/angular-messages.min.js"></script>
    <script type="text/javascript" src="/assets/scripts/app.js"></script>
    <script type="text/javascript" src="/assets/scripts/services/httpService.js"></script>
    <script type="text/javascript" src="/assets/scripts/directives/formValidDirective.js"></script>
    <script type="text/javascript" src="/assets/scripts/controllers/users.js"></script>
    <script type="text/javascript" src="/assets/scripts/controllers/dashboard.js"></script>
    <script type="text/javascript" src="/assets/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
    <script type="text/javascript" src="/assets/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript"
            src="/assets/bower_components/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min.js"></script>
    <script type="text/javascript" src="/assets/scripts/jq.utils.js"></script>
    <script>
        $(function () {
            $('[data-toggle="tooltip"]').tooltip()
        })
    </script>
</head>
<body>
<div ng-app="scrmApp">
    <div ng-controller="NavigationCtrl" class="dashboard-tpl">
        <header class="navbar scrm-navbar">
            <div class="container">
                <div class="navbar-left">
                    <a href="#" class="navbar-brand"><img src="/assets/images/logo.png" class="img-responsive"></a>
                    <span class="scrm-name">蜂巢社会化客户关系管理系统 v2.0</span>
                </div>
                <ul class="navbar-right nav navbar-nav">
                    <li><img src="{BEESCRM:$common['wechatList'][0]['logo']}"
                             class="img-responsive img-circle img-thumbnail"></li>
                    <li ng-controller="DropdownCtrl">
                        <a class="switch-account" href="#" data-toggle="dropdown" aria-haspopup="true"
                           aria-expanded="false">{BEESCRM:$common['wechatList'][0]['wx_name']}<span
                                class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby=".switch-account">
                            <volist name="common['wechatList']" id='vo'>
                                <li><a href="#">{BEESCRM:$vo.wx_name}</a></li>
                            </volist>
                        </ul>
                    </li>
                    <li><a href="#">首页</a></li>
                    <li><a href="{BEESCRM::U('Base/Index/logout')}">[退出]</a></li>
                </ul>
            </div>
        </header>
        <div class="container-fluid dashboard-main">
            <div class="row">
                <div class="scrm-nav col-sm-3 col-md-2" id="accordion" role="tablist" aria-multiselectable="true">
                    <volist name="common['menu']" id='vo'>
                        <!--menu start-->
                        <div class="panel list-group">
                            <div class="panel-heading" role="tab">
                                <a class="scrm-item list-group-item collapsed"
                                <if condition="$vo['menu_url']">href="{BEESCRM:$vo['menu_url']}"
                                    <else/>
                                    href="#collapse-{BEESCRM:$key}" aria-expanded="false"
                                    aria-controls="collapse-{BEESCRM:$key}"
                                    data-toggle="collapse"data-parent="#accordion"
                                </if>
                                >
                                <span class="iconfont icon-weixin"></span>{BEESCRM:$vo.menu_name}<span
                                    class="iconfont icon-xiala pull-right arrow-right">
	                                </span>
                                </a>
                            </div>
                            <if condition="$vo['sub']">
                                <div id="collapse-{BEESCRM:$key}" class="panel-collapse collapse" role="tabpanel">
                                    <ul class="nav nav-pills nav-stacked">
                                        <volist name="vo['sub']" id='v'>
                                            <li><a href="{BEESCRM:$v['menu_url']}">{BEESCRM:$v.menu_name}</a><span
                                                    class="iconfont tips" data-menu="{BEESCRM:$v.menu_id}" data-name="{BEESCRM:$v.menu_name}" data
                                                    data-toggle="tooltip" data-placement="top"
                                                    title="添加到快捷菜单">&#xe617</span></li>
                                        </volist>
                                    </ul>
                                </div>
                            </if>
                        </div>
                        <!--menu end-->
                    </volist>
                </div>
                <div class="col-sm-9 col-md-10 right-main">
                    <h3 class="crumbs"><span class="iconfont icon-xiala pull-left arrow-right"></span>{BEESCRM:$common.title}</h3>

                    <!--<div ui-view></div>-->
